package fr.univlille1.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Set;

public interface SiteItf extends Remote {
	
	public void addNeighbor(SiteItf neighbor) throws RemoteException;
	public void removeNeighbor(SiteItf neighbor) throws RemoteException;
	public void tellNeighbors(byte[] data) throws RemoteException;
	public void listen (byte[] data, Set<SiteItf> alreadyHeard) throws RemoteException;

}
